package com.smartbone.entity;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

/**
 * Finance entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "finance", catalog = "stockmaster", uniqueConstraints = @UniqueConstraint(columnNames = "stockId"))
public class Finance implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 4940725385993056454L;
	private Long id;
	private Stockinfo stockinfo;
	private Timestamp fbrq;
	private Timestamp bgq;
	private Timestamp ssrq;
	private Float mgsy;
	private Float mgjzc;
	private Float jzcsyl;
	private Float mgjyxj;
	private Float mggjj;
	private Float mgwfp;
	private Float gdqyb;
	private Float jlrtb;
	private Float zysltb;
	private Float xsmll;
	private Float tzmgjzc;
	private Float zzc;
	private Float ldzc;
	private Float gdzc;
	private Float wxzc;
	private Float ldfz;
	private Float cqfz;
	private Float zfz;
	private Float gdqy;
	private Float zbgjj;
	private Float jyxjll;
	private Float tzxjll;
	private Float czxjll;
	private Float xjzje;
	private Float zysr;
	private Float zylr;
	private Float yylr;
	private Float tzsy;
	private Float yywsz;
	private Float lrze;
	private Float jlr;
	private Float wfplr;
	private Float ag;

	// Constructors

	/** default constructor */
	public Finance() {
	}

	/** minimal constructor */
	public Finance(Stockinfo stockinfo) {
		this.stockinfo = stockinfo;
	}

	/** full constructor */
	public Finance(Stockinfo stockinfo, Timestamp fbrq, Timestamp bgq,
			Timestamp ssrq, Float mgsy, Float mgjzc, Float jzcsyl,
			Float mgjyxj, Float mggjj, Float mgwfp, Float gdqyb, Float jlrtb,
			Float zysltb, Float xsmll, Float tzmgjzc, Float zzc, Float ldzc,
			Float gdzc, Float wxzc, Float ldfz, Float cqfz, Float zfz,
			Float gdqy, Float zbgjj, Float jyxjll, Float tzxjll, Float czxjll,
			Float xjzje, Float zysr, Float zylr, Float yylr, Float tzsy,
			Float yywsz, Float lrze, Float jlr, Float wfplr, Float ag) {
		this.stockinfo = stockinfo;
		this.fbrq = fbrq;
		this.bgq = bgq;
		this.ssrq = ssrq;
		this.mgsy = mgsy;
		this.mgjzc = mgjzc;
		this.jzcsyl = jzcsyl;
		this.mgjyxj = mgjyxj;
		this.mggjj = mggjj;
		this.mgwfp = mgwfp;
		this.gdqyb = gdqyb;
		this.jlrtb = jlrtb;
		this.zysltb = zysltb;
		this.xsmll = xsmll;
		this.tzmgjzc = tzmgjzc;
		this.zzc = zzc;
		this.ldzc = ldzc;
		this.gdzc = gdzc;
		this.wxzc = wxzc;
		this.ldfz = ldfz;
		this.cqfz = cqfz;
		this.zfz = zfz;
		this.gdqy = gdqy;
		this.zbgjj = zbgjj;
		this.jyxjll = jyxjll;
		this.tzxjll = tzxjll;
		this.czxjll = czxjll;
		this.xjzje = xjzje;
		this.zysr = zysr;
		this.zylr = zylr;
		this.yylr = yylr;
		this.tzsy = tzsy;
		this.yywsz = yywsz;
		this.lrze = lrze;
		this.jlr = jlr;
		this.wfplr = wfplr;
		this.ag = ag;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "stockId", unique = true, nullable = false)
	public Stockinfo getStockinfo() {
		return this.stockinfo;
	}

	public void setStockinfo(Stockinfo stockinfo) {
		this.stockinfo = stockinfo;
	}

	@Column(name = "fbrq", length = 19)
	public Timestamp getFbrq() {
		return this.fbrq;
	}

	public void setFbrq(Timestamp fbrq) {
		this.fbrq = fbrq;
	}

	@Column(name = "bgq", length = 19)
	public Timestamp getBgq() {
		return this.bgq;
	}

	public void setBgq(Timestamp bgq) {
		this.bgq = bgq;
	}

	@Column(name = "ssrq", length = 19)
	public Timestamp getSsrq() {
		return this.ssrq;
	}

	public void setSsrq(Timestamp ssrq) {
		this.ssrq = ssrq;
	}

	@Column(name = "mgsy", precision = 12, scale = 0)
	public Float getMgsy() {
		return this.mgsy;
	}

	public void setMgsy(Float mgsy) {
		this.mgsy = mgsy;
	}

	@Column(name = "mgjzc", precision = 12, scale = 0)
	public Float getMgjzc() {
		return this.mgjzc;
	}

	public void setMgjzc(Float mgjzc) {
		this.mgjzc = mgjzc;
	}

	@Column(name = "jzcsyl", precision = 12, scale = 0)
	public Float getJzcsyl() {
		return this.jzcsyl;
	}

	public void setJzcsyl(Float jzcsyl) {
		this.jzcsyl = jzcsyl;
	}

	@Column(name = "mgjyxj", precision = 12, scale = 0)
	public Float getMgjyxj() {
		return this.mgjyxj;
	}

	public void setMgjyxj(Float mgjyxj) {
		this.mgjyxj = mgjyxj;
	}

	@Column(name = "mggjj", precision = 12, scale = 0)
	public Float getMggjj() {
		return this.mggjj;
	}

	public void setMggjj(Float mggjj) {
		this.mggjj = mggjj;
	}

	@Column(name = "mgwfp", precision = 12, scale = 0)
	public Float getMgwfp() {
		return this.mgwfp;
	}

	public void setMgwfp(Float mgwfp) {
		this.mgwfp = mgwfp;
	}

	@Column(name = "gdqyb", precision = 12, scale = 0)
	public Float getGdqyb() {
		return this.gdqyb;
	}

	public void setGdqyb(Float gdqyb) {
		this.gdqyb = gdqyb;
	}

	@Column(name = "jlrtb", precision = 12, scale = 0)
	public Float getJlrtb() {
		return this.jlrtb;
	}

	public void setJlrtb(Float jlrtb) {
		this.jlrtb = jlrtb;
	}

	@Column(name = "zysltb", precision = 12, scale = 0)
	public Float getZysltb() {
		return this.zysltb;
	}

	public void setZysltb(Float zysltb) {
		this.zysltb = zysltb;
	}

	@Column(name = "xsmll", precision = 12, scale = 0)
	public Float getXsmll() {
		return this.xsmll;
	}

	public void setXsmll(Float xsmll) {
		this.xsmll = xsmll;
	}

	@Column(name = "tzmgjzc", precision = 12, scale = 0)
	public Float getTzmgjzc() {
		return this.tzmgjzc;
	}

	public void setTzmgjzc(Float tzmgjzc) {
		this.tzmgjzc = tzmgjzc;
	}

	@Column(name = "zzc", precision = 12, scale = 0)
	public Float getZzc() {
		return this.zzc;
	}

	public void setZzc(Float zzc) {
		this.zzc = zzc;
	}

	@Column(name = "ldzc", precision = 12, scale = 0)
	public Float getLdzc() {
		return this.ldzc;
	}

	public void setLdzc(Float ldzc) {
		this.ldzc = ldzc;
	}

	@Column(name = "gdzc", precision = 12, scale = 0)
	public Float getGdzc() {
		return this.gdzc;
	}

	public void setGdzc(Float gdzc) {
		this.gdzc = gdzc;
	}

	@Column(name = "wxzc", precision = 12, scale = 0)
	public Float getWxzc() {
		return this.wxzc;
	}

	public void setWxzc(Float wxzc) {
		this.wxzc = wxzc;
	}

	@Column(name = "ldfz", precision = 12, scale = 0)
	public Float getLdfz() {
		return this.ldfz;
	}

	public void setLdfz(Float ldfz) {
		this.ldfz = ldfz;
	}

	@Column(name = "cqfz", precision = 12, scale = 0)
	public Float getCqfz() {
		return this.cqfz;
	}

	public void setCqfz(Float cqfz) {
		this.cqfz = cqfz;
	}

	@Column(name = "zfz", precision = 12, scale = 0)
	public Float getZfz() {
		return this.zfz;
	}

	public void setZfz(Float zfz) {
		this.zfz = zfz;
	}

	@Column(name = "gdqy", precision = 12, scale = 0)
	public Float getGdqy() {
		return this.gdqy;
	}

	public void setGdqy(Float gdqy) {
		this.gdqy = gdqy;
	}

	@Column(name = "zbgjj", precision = 12, scale = 0)
	public Float getZbgjj() {
		return this.zbgjj;
	}

	public void setZbgjj(Float zbgjj) {
		this.zbgjj = zbgjj;
	}

	@Column(name = "jyxjll", precision = 12, scale = 0)
	public Float getJyxjll() {
		return this.jyxjll;
	}

	public void setJyxjll(Float jyxjll) {
		this.jyxjll = jyxjll;
	}

	@Column(name = "tzxjll", precision = 12, scale = 0)
	public Float getTzxjll() {
		return this.tzxjll;
	}

	public void setTzxjll(Float tzxjll) {
		this.tzxjll = tzxjll;
	}

	@Column(name = "czxjll", precision = 12, scale = 0)
	public Float getCzxjll() {
		return this.czxjll;
	}

	public void setCzxjll(Float czxjll) {
		this.czxjll = czxjll;
	}

	@Column(name = "xjzje", precision = 12, scale = 0)
	public Float getXjzje() {
		return this.xjzje;
	}

	public void setXjzje(Float xjzje) {
		this.xjzje = xjzje;
	}

	@Column(name = "zysr", precision = 12, scale = 0)
	public Float getZysr() {
		return this.zysr;
	}

	public void setZysr(Float zysr) {
		this.zysr = zysr;
	}

	@Column(name = "zylr", precision = 12, scale = 0)
	public Float getZylr() {
		return this.zylr;
	}

	public void setZylr(Float zylr) {
		this.zylr = zylr;
	}

	@Column(name = "yylr", precision = 12, scale = 0)
	public Float getYylr() {
		return this.yylr;
	}

	public void setYylr(Float yylr) {
		this.yylr = yylr;
	}

	@Column(name = "tzsy", precision = 12, scale = 0)
	public Float getTzsy() {
		return this.tzsy;
	}

	public void setTzsy(Float tzsy) {
		this.tzsy = tzsy;
	}

	@Column(name = "yywsz", precision = 12, scale = 0)
	public Float getYywsz() {
		return this.yywsz;
	}

	public void setYywsz(Float yywsz) {
		this.yywsz = yywsz;
	}

	@Column(name = "lrze", precision = 12, scale = 0)
	public Float getLrze() {
		return this.lrze;
	}

	public void setLrze(Float lrze) {
		this.lrze = lrze;
	}

	@Column(name = "jlr", precision = 12, scale = 0)
	public Float getJlr() {
		return this.jlr;
	}

	public void setJlr(Float jlr) {
		this.jlr = jlr;
	}

	@Column(name = "wfplr", precision = 12, scale = 0)
	public Float getWfplr() {
		return this.wfplr;
	}

	public void setWfplr(Float wfplr) {
		this.wfplr = wfplr;
	}

	@Column(name = "ag", precision = 12, scale = 0)
	public Float getAg() {
		return this.ag;
	}

	public void setAg(Float ag) {
		this.ag = ag;
	}

}